package com.fangyi.yunmusic.mapper;

import com.fangyi.yunmusic.pojo.Playlist;
import com.fangyi.yunmusic.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlaylistMapper extends MyMapper<Playlist> {

    public List<Playlist> selectPlaylistByIds(@Param("ids") List<String> ids);

    int insert(Playlist playlist);

    int insertSelective(Playlist playlist);

    int deleteByPrimaryKey(Object o);

    int updateByPrimaryKey(Playlist playlist);

    int updateByPrimaryKeySelective(Playlist playlist);

    int getPlaylistCount();
}